package model

import "time"

type ChatGroup struct {
	ID      uint   `gorm:"primaryKey" form:"id" json:"id"`
	Name    string `gorm:"varchar(30)" form:"name" json:"name"`
	Ownerid int64  `gorm:"bigint(20)" form:"ownerid" json:"ownerid"`
	Icon    string `gorm:"icon" form:"icon" json:"icon"`
	Cate    int    `gorm:"cate" json:"cate" form:"cate"`
	// 群简单的描述
	Memo     string    `gorm:"varchar(120)" form:"memo" json:"memo"`
	Createat time.Time `gorm:"datetime" form:"createat" json:"createat"`
}
